.class Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$f;
.super Ljava/lang/Object;
.source "DetailFileListAdapter.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;->p()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$f;->a:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 9

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$f;->a:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;->f()[I

    move-result-object v0

    const/4 v1, 0x0

    if-eqz v0, :cond_4

    .line 2
    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$f;->a:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;

    iget-object v2, v2, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;->c:Ljava/util/SortedMap;

    invoke-interface {v2}, Ljava/util/SortedMap;->clear()V

    .line 3
    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$f;->a:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;

    iget-object v2, v2, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;->d:Ljava/util/concurrent/atomic/AtomicLong;

    const-wide/16 v3, 0x0

    invoke-virtual {v2, v3, v4}, Ljava/util/concurrent/atomic/AtomicLong;->set(J)V

    .line 4
    aget v1, v0, v1

    :goto_0
    const/4 v2, 0x1

    aget v5, v0, v2

    if-gt v1, v5, :cond_3

    const/4 v5, -0x1

    if-eq v1, v5, :cond_2

    .line 5
    iget-object v5, p0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$f;->a:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;

    iget-object v5, v5, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;->b:Ljava/util/concurrent/CopyOnWriteArrayList;

    invoke-virtual {v5}, Ljava/util/concurrent/CopyOnWriteArrayList;->size()I

    move-result v5

    if-lt v1, v5, :cond_0

    goto :goto_1

    .line 6
    :cond_0
    iget-object v5, p0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$f;->a:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;

    iget-object v5, v5, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;->b:Ljava/util/concurrent/CopyOnWriteArrayList;

    invoke-virtual {v5, v1}, Ljava/util/concurrent/CopyOnWriteArrayList;->get(I)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;

    .line 7
    iput-boolean v2, v5, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;->a:Z

    .line 8
    iget-object v2, v5, Lcom/estrongs/android/pop/app/analysis/fragments/AbsAnalysisResultDetailFrament$f;->b:Lcom/estrongs/fs/g;

    invoke-interface {v2}, Lcom/estrongs/fs/g;->length()J

    move-result-wide v6

    cmp-long v2, v6, v3

    if-gtz v2, :cond_1

    move-wide v6, v3

    .line 9
    :cond_1
    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$f;->a:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;

    iget-object v2, v2, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;->c:Ljava/util/SortedMap;

    invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v8

    invoke-interface {v2, v8, v5}, Ljava/util/SortedMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 10
    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$f;->a:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;

    iget-object v2, v2, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;->d:Ljava/util/concurrent/atomic/AtomicLong;

    invoke-virtual {v2, v6, v7}, Ljava/util/concurrent/atomic/AtomicLong;->addAndGet(J)J

    :cond_2
    :goto_1
    add-int/lit8 v1, v1, 0x1

    goto :goto_0

    .line 11
    :cond_3
    new-instance v0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$f$a;

    invoke-direct {v0, p0}, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$f$a;-><init>(Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$f;)V

    invoke-static {v0}, Lcom/estrongs/android/util/o0;->a(Ljava/lang/Runnable;)V

    goto :goto_2

    .line 12
    :cond_4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter$f;->a:Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;

    invoke-static {v0, v1}, Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;->a(Lcom/estrongs/android/pop/app/analysis/adapters/DetailFileListAdapter;Z)Z

    :goto_2
    return-void
.end method
